package com.open.api.wechat.app.request;

import com.open.api.wechat.app.response.WeChatCode2SessionResponse;
import com.open.api.wechat.common.WeChatCommonRequest;
import com.open.api.wechat.constants.WeChatAppUrlConstants;
import lombok.Data;

/**
 * @author : zhaoxuan
 * @date : 2021/7/1 12:47
 * @description : WeChatCode2SessionRequest
 * @version: 1.0
 */
@Data
public class WeChatCode2SessionRequest extends WeChatCommonRequest<WeChatCode2SessionResponse> {
    @Override
    public String getDefaultUrl() {
        return WeChatAppUrlConstants.APP_CODE_2_SESSION;
    }

    @Override
    public Class<WeChatCode2SessionResponse> getResponse() {
        return WeChatCode2SessionResponse.class;
    }
}
